{extend name="admin/public:layout" /}
{block name="title"}圈子申请管理{/block}
{block name="head"}{/block}
{block name="body"}
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="ibox">
        <div class="ibox-title">
            <ol class="breadcrumb">
                <li><i class="fa fa-hand-o-right"></i> 申请列表</li>
            </ol>
        </div>
        <div class="ibox-content">
            <div class="toolbar">
                <div class="pull-right">
                    <form class="form-inline" method="post">
                        <div class="form-group">
                            <div class="input-group">
                                <input class="form-control" name="circle_name" value="" type="text" placeholder="检索圈子">
                            </div>
                        </div>
                        <button type="submit" class="btn btn-info">
                            <i class="fa fa-search"></i> 搜索
                        </button>
                    </form>
                </div>
                <div class="clearfix"></div>
            </div>
            <table class="table table-bordered">
                <thead>
                <tr>
                    <th>所在圈子</th>
                    <th>申请人</th>
                    <th>申请内容</th>
                    <th>申请时间</th>
                    <th>角色</th>
                    <th>状态</th>
                    <th width="80">操作</th>
                </tr>
                </thead>
                <tbody>
                {volist name="list" id="vo"}
                <tr>
                    <td>{$vo.circle_name}</td>
                    <td>{$vo.member_name}</td>
                    <td>{$vo.cm_applycontent}</td>
                    <td>{$vo.cm_applytime|date="Y-m-d H:i",###}</td>
                    <td>{$vo.is_identity_text}</td>
                    <td>{$vo.cm_state_text}</td>
                    <td>
                        <a href="{:url('edit',['id'=>$vo['id']])}">操作</a>
                        <a href="javascript:;" onclick="doAction(this);"
                           data-msg="确认操作吗？" data-url="{:url('del')}" data-params="id={$vo.id}">
                            删除
                        </a>
                    </td>
                </tr>
                {/volist}
                </tbody>
            </table>
            <div class="page-bar">{$list->render()}</div>
        </div>
    </div>
</div>
{/block}
{block name="script"}{/block}